Skip to content

Fixes for SSL support and signing workflow#2

Merged
atomicturtle merged 13 commits into
mainfrom
fix-02
Jan 8, 2026
Merged

Fixes for SSL support and signing workflow#2
atomicturtle merged 13 commits into
mainfrom
fix-02

Conversation

@atomicturtle
Copy link
Copy Markdown
Owner

No description provided.

Signed-off-by: Scott R. Shinn <scott@atomicorp.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds SSL configuration improvements and implements RPM integrated signing workflow support. The changes enable the Chelon signing service to prioritize configuration file settings over environment variables, add automatic token reloading, and introduce GPG emulation mode for embedding signatures directly into RPM headers.

  • Added GPG wrapper mode to chelon-sign-rpm that emulates GPG behavior for rpmsign integration
  • Enhanced SSL configuration to prioritize config file settings over environment variables with backward compatibility
  • Implemented automatic token reloading in auth.py to detect new tokens without service restart

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 15 comments.

Show a summary per file
File Description
tools/chelon-sign-rpm Major enhancement adding GPG emulation mode, resign functionality for embedded signatures, and refactored detached signing
tools/pycache/chelon_client.cpython-314.pyc Compiled Python bytecode file that should not be in version control
server/chelon-service.py SSL configuration now prioritizes config file over environment variables with support for multiple variable names
server/auth.py Added automatic token reloading when unknown tokens are encountered
docs/USAGE.md Updated documentation to describe new --resign option for embedded signatures

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tools/chelon-sign-rpm Outdated
Comment thread tools/chelon-sign-rpm Outdated
Comment thread tools/chelon-sign-rpm
Comment thread server/auth.py Outdated
Comment thread server/chelon-service.py
Comment thread tools/chelon-sign-rpm Outdated
Comment thread tools/chelon-sign-rpm Outdated
Comment thread tools/chelon-sign-rpm Outdated
Comment thread tools/chelon-sign
Comment thread tools/chelon-sign-rpm Outdated
Signed-off-by: Scott R. Shinn <scott@atomicorp.com>
Signed-off-by: Scott R. Shinn <scott@atomicorp.com>
Signed-off-by: Scott R. Shinn <scott@atomicorp.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 11 changed files in this pull request and generated 13 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tools/chelon-sign-rpm Outdated
Comment thread server/chelon-service.py Outdated
Comment thread server/chelon-service.py Outdated
Comment thread server/auth.py Outdated
Comment thread tools/chelon-sign-rpm Outdated
Comment thread tools/chelon-sign
Comment thread server/chelon-service.py
Comment thread tools/chelon-sign-rpm Outdated
Comment thread tools/chelon-sign
Comment thread tools/chelon-sign
atomicturtle and others added 3 commits January 8, 2026 10:11
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
- Unified 'chelon-sign-rpm' and 'chelon-sign-repomd' into 'chelon-sign'
- Updated spec file to reflect tool consolidation (v1.0.0-3)
- Security: Sanitized script path in RPM macros
- Security: Optimized DoS protection with chunked reading
- Fix: Robust error handling for base64 decoding
- Fix: Improved client certificate fallback logic
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 14 changed files in this pull request and generated 8 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread server/auth.py Outdated
Comment thread tools/chelon-sign
Comment thread tools/chelon-sign
Comment thread tools/chelon-sign
Comment thread tools/chelon-sign Outdated
Comment thread docs/USAGE.md Outdated
Comment thread tools/chelon-sign
Comment thread tools/chelon-sign
atomicturtle and others added 6 commits January 8, 2026 10:41
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
- Updated docs/USAGE.md to reflect tool consolidation (chelon-sign-rpm/repomd -> chelon-sign)
- Minor cleanup in auth.py (remove redundant token check)
- Added specific error handling for ChelonClientError in GPG emulation mode
@atomicturtle atomicturtle merged commit 0c4cbb6 into main Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants